<?php

namespace Sffi\ElementPlus\ElForm;

use Sffi\ElementPlus\entity\Option;
use Sffi\ElementPlus\entityTrait\SelectOption;

class ElObject extends FormItem
{
    use SelectOption;

    protected string $type = 'object';
    protected $placeholder;
    protected $needKes;

    public function __construct($title, $key, $needKes=[])
    {
        $this->title = $title;
        $this->key = $key;
        $this->prop = $key;
        $this->needKes = $needKes;
    }
}